package com.mdd.admin.service;

import com.mdd.admin.validate.MediationRecordSearchValidate;
import com.mdd.admin.validate.commons.PageValidate;
import com.mdd.admin.vo.MediationRecordDetailVo;
import com.mdd.admin.vo.MediationRecordListedVo;
import com.mdd.common.core.PageResult;

/**
 * 调解记录服务接口类
 * @author LikeAdmin
 */
public interface IMediationRecordService {

    /**
     * 调解记录列表
     *
     * @author LikeAdmin
     * @param pageValidate 分页参数
     * @param searchValidate 搜索参数
     * @return PageResult<MediationRecordListedVo>
     */
    PageResult<MediationRecordListedVo> list(PageValidate pageValidate, MediationRecordSearchValidate searchValidate);

    /**
     * 调解记录详情
     *
     * @author LikeAdmin
     * @param id 主键ID
     * @return MediationRecordDetailVo
     */
    MediationRecordDetailVo detail(Integer id);

}
